home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
usenet
/
sources
/
volume90
/
aplictns
/
route_10
/
part02
/
bitblt2.h
next >
Wrap
C/C++ Source or Header
|
1990-04-23
|
7KB
|
463 lines
/* hole-related templates */
/* NOTE: these templates are UPSIDE-DOWN from what you see on the screen!!! */
USHORT HoleN0[] = {
0x4000,
0x0000,
0x0000,
};
USHORT HoleN1[] = {
0x3000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
};
USHORT HoleN2[] = {
0x0c00,
0x0c00,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
};
USHORT HoleN3[] = {
0x00c0, 0x0000,
0x00c0, 0x0000,
0x00c0, 0x0000,
0x00c0, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
};
USHORT HoleE0[] = {
0x0000,
0x2000,
0x0000,
};
USHORT HoleE1[] = {
0x0000,
0x0000,
0x0400,
0x0400,
0x0000,
0x0000,
};
USHORT HoleE2[] = {
0x0000,
0x0000,
0x0000,
0x0000,
0x00c0,
0x00c0,
0x0000,
0x0000,
0x0000,
0x0000,
};
USHORT HoleE3[] = {
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0003, 0xc000,
0x0003, 0xc000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
};
USHORT HoleS0[] = {
0x0000,
0x0000,
0x4000,
};
USHORT HoleS1[] = {
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x3000,
};
USHORT HoleS2[] = {
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0c00,
0x0c00,
};
USHORT HoleS3[] = {
0x0000,0x0000,
0x0000,0x0000,
0x0000,0x0000,
0x0000,0x0000,
0x0000,0x0000,
0x0000,0x0000,
0x0000,0x0000,
0x0000,0x0000,
0x0000,0x0000,
0x0000,0x0000,
0x0000,0x0000,
0x0000,0x0000,
0x0000,0x0000,
0x0000,0x0000,
0x00c0,0x0000,
0x00c0,0x0000,
0x00c0,0x0000,
0x00c0,0x0000,
};
USHORT HoleW0[] = {
0x0000,
0x8000,
0x0000,
};
USHORT HoleW1[] = {
0x0000,
0x0000,
0x8000,
0x8000,
0x0000,
0x0000,
};
USHORT HoleW2[] = {
0x0000,
0x0000,
0x0000,
0x0000,
0xc000,
0xc000,
0x0000,
0x0000,
0x0000,
0x0000,
};
USHORT HoleW3[] = {
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0xf000, 0x0000,
0xf000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
};
USHORT HoleNE0[] = {
0x2000,
0x0000,
0x0000,
};
USHORT HoleNE1[] = {
0x0400,
0x0800,
0x0000,
0x0000,
0x0000,
0x0000,
};
USHORT HoleNE2[] = {
0x0040,
0x0080,
0x0100,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
};
USHORT HoleNE3[] = {
0x0000, 0x4000,
0x0000, 0x8000,
0x0001, 0x0000,
0x0002, 0x0000,
0x0004, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
};
USHORT HoleSE0[] = {
0x0000,
0x0000,
0x2000,
};
USHORT HoleSE1[] = {
0x0000,
0x0000,
0x0000,
0x0000,
0x0800,
0x0400,
};
USHORT HoleSE2[] = {
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0100,
0x0080,
0x0040,
};
USHORT HoleSE3[] = {
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0004, 0x0000,
0x0002, 0x0000,
0x0001, 0x0000,
0x0000, 0x8000,
0x0000, 0x4000,
};
USHORT HoleSW0[] = {
0x0000,
0x0000,
0x8000,
};
USHORT HoleSW1[] = {
0x0000,
0x0000,
0x0000,
0x0000,
0x4000,
0x8000,
};
USHORT HoleSW2[] = {
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x2000,
0x4000,
0x8000,
};
USHORT HoleSW3[] = {
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0800, 0x0000,
0x1000, 0x0000,
0x2000, 0x0000,
0x4000, 0x0000,
0x8000, 0x0000,
};
USHORT HoleNW0[] = {
0x8000,
0x0000,
0x0000,
};
USHORT HoleNW1[] = {
0x8000,
0x4000,
0x0000,
0x0000,
0x0000,
0x0000,
};
USHORT HoleNW2[] = {
0x8000,
0x4000,
0x2000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
};
USHORT HoleNW3[] = {
0x8000, 0x0000,
0x4000, 0x0000,
0x2000, 0x0000,
0x1000, 0x0000,
0x0800, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
0x0000, 0x0000,
};
struct templates y2[] = {
{
HOLE_NORTH, {
{ 0, 0, ZOOM0, ZOOM0, 1, HoleN0 , 7, 0, NULL },
{ 0, 0, ZOOM1, ZOOM1, 1, HoleN1 , 7, 0, NULL },
{ 0, 0, ZOOM2, ZOOM2, 1, HoleN2 , 7, 0, NULL },
{ 0, 0, ZOOM3, ZOOM3, 1, HoleN3 , 7, 0, NULL },
}
}, {
HOLE_EAST, {
{ 0, 0, ZOOM0, ZOOM0, 1, HoleE0 , 7, 0, NULL },
{ 0, 0, ZOOM1, ZOOM1, 1, HoleE1 , 7, 0, NULL },
{ 0, 0, ZOOM2, ZOOM2, 1, HoleE2 , 7, 0, NULL },
{ 0, 0, ZOOM3, ZOOM3, 1, HoleE3 , 7, 0, NULL },
}
}, {
HOLE_SOUTH, {
{ 0, 0, ZOOM0, ZOOM0, 1, HoleS0 , 7, 0, NULL },
{ 0, 0, ZOOM1, ZOOM1, 1, HoleS1 , 7, 0, NULL },
{ 0, 0, ZOOM2, ZOOM2, 1, HoleS2 , 7, 0, NULL },
{ 0, 0, ZOOM3, ZOOM3, 1, HoleS3 , 7, 0, NULL },
}
}, {
HOLE_WEST, {
{ 0, 0, ZOOM0, ZOOM0, 1, HoleW0 , 7, 0, NULL },
{ 0, 0, ZOOM1, ZOOM1, 1, HoleW1 , 7, 0, NULL },
{ 0, 0, ZOOM2, ZOOM2, 1, HoleW2 , 7, 0, NULL },
{ 0, 0, ZOOM3, ZOOM3, 1, HoleW3 , 7, 0, NULL },
}
}, {
HOLE_NORTHEAST, {
{ 0, 0, ZOOM0, ZOOM0, 1, HoleNE0 , 7, 0, NULL },
{ 0, 0, ZOOM1, ZOOM1, 1, HoleNE1 , 7, 0, NULL },
{ 0, 0, ZOOM2, ZOOM2, 1, HoleNE2 , 7, 0, NULL },
{ 0, 0, ZOOM3, ZOOM3, 1, HoleNE3 , 7, 0, NULL },
}
}, {
HOLE_SOUTHEAST, {
{ 0, 0, ZOOM0, ZOOM0, 1, HoleSE0 , 7, 0, NULL },
{ 0, 0, ZOOM1, ZOOM1, 1, HoleSE1 , 7, 0, NULL },
{ 0, 0, ZOOM2, ZOOM2, 1, HoleSE2 , 7, 0, NULL },
{ 0, 0, ZOOM3, ZOOM3, 1, HoleSE3 , 7, 0, NULL },
}
}, {
HOLE_SOUTHWEST, {
{ 0, 0, ZOOM0, ZOOM0, 1, HoleSW0 , 7, 0, NULL },
{ 0, 0, ZOOM1, ZOOM1, 1, HoleSW1 , 7, 0, NULL },
{ 0, 0, ZOOM2, ZOOM2, 1, HoleSW2 , 7, 0, NULL },
{ 0, 0, ZOOM3, ZOOM3, 1, HoleSW3 , 7, 0, NULL },
}
}, {
HOLE_NORTHWEST, {
{ 0, 0, ZOOM0, ZOOM0, 1, HoleNW0 , 7, 0, NULL },
{ 0, 0, ZOOM1, ZOOM1, 1, HoleNW1 , 7, 0, NULL },
{ 0, 0, ZOOM2, ZOOM2, 1, HoleNW2 , 7, 0, NULL },
{ 0, 0, ZOOM3, ZOOM3, 1, HoleNW3 , 7, 0, NULL },
}
}
};